@import "../../../stylesheet/mixin.scss";
@import "../../../stylesheet/default.scss";

$prefix: m-citationTT;

.#{$prefix} {
  position: relative;
  width: 100%;
  margin-bottom: 25px;
  .#{$prefix}-wrapper {
    width: 100%;
    padding: 0;
    display: inline-flex;
    .#{$prefix}-square {
      background-image: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
      @include minBox(100px, 100px);
      margin-right: 20px;
      display: inline-block;
    }

		.#{$prefix}-circle{
			border-radius: 100px;
		}

    .#{$prefix}-squareSide {
      display: inline-flex;
      justify-content: space-between;
			flex-direction: column;
			width: 100%;
      div {
        @include box(100%, 100%);
        background-image: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
        height: 20px;
      }
    }
  }

  .#{$prefix}-bw {
    div {
      margin-top: 15px;
      background-image: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
    }

    @for $var from 1 to 3 {
      div:nth-child(#{$var}) {
        width: 100%;
        height: 20px;
      }
    }
  }
  div {
    position: relative;
    background-position: 0 100%;
    background-size: 400% 100%;
	}
	.#{$prefix}-animate{
		@include animation(m-citationTypeTwo 2s linear infinite);
	}
}

@keyframes m-citationTypeTwo {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: 0 50%;
  }
}
